package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
@ApiModel(value = "司机详情模型")
public class UpdatePhoneNumberWrapper {

    @ApiModelProperty(value = "手机号码")
    @Pattern(regexp = "^1\\d{10}$", message = "手机号码格式不准确")
    private String mobileNumber;
}
